import React, { Component } from 'react'
import {Text, View} from 'react-native'
import { Button, Modal } from 'antd-mobile'
import color from '../../libs/color'
const alert = Modal.alert

export default class extends Component {
  static navigationOptions = ({ navigation }) => ({
    title: '使用说明',
    headerTintColor: 'white',
    headerStyle:{ backgroundColor: color.theme},
    headerTitleStyle:{ color: 'white', fontSize: 20 }
  })

  constructor(props) {
    super(props)
  }

  render = () => {
    return (
      <View>
        <Button onClick={this.goBack}>GO BACK</Button>
      </View>
    )
  }
  goBack = () => {
    this.props.navigation.goBack()
  }
}
